home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / AppMaker 2.0b3 / Demo AppMaker 1.5 / Demo AppMaker™ / Demo AppMaker™.rsrc / TmCM_205_Dialog.h < prev    next >
Encoding:
Text File  |  1992-04-08  |  973 b   |  48 lines

  1. // %filename% -- dialog 
  2. // Created %date% %time% by AppMaker 
  3.  
  4. #ifndef __U%dlogname%__
  5. #define __U%dlogname%__
  6.  
  7. #ifndef __UMacApp__
  8.     #include <UMacApp.h>
  9. #endif
  10. #ifndef __UGridView__
  11.     #include <UGridView.h>
  12. #endif
  13. #ifndef __UTEView__
  14.     #include <UTEView.h>
  15. #endif
  16. #ifndef __UDialog__
  17.     #include <UDialog.h>
  18. #endif
  19. #ifndef __UAMLibraryM__
  20.     #include <UAMLibraryM.h>
  21. #endif
  22.  
  23. /*----------*/
  24. class T%dlogname% : public TDialogView {
  25.   public:
  26.     virtual pascal void DoChoice    (TView        *origView,
  27.                                      short        itsChoice);        // override
  28. #if qInspector
  29.     virtual pascal void Fields    (pascal void (*DoToField)
  30.                                         (StringPtr        fieldName, 
  31.                                          Ptr            fieldAddr, 
  32.                                          short            fieldType, 
  33.                                          void              *DoToField_StaticLink),
  34.                                  void    *DoToField_StaticLink);        // override
  35. #endif
  36. }; /* T%dlogname% */
  37.  
  38. %for each item gen classDecl%
  39. /*----------*/
  40. %if modeless%
  41.     TWindow *New%dlogname%    (void);
  42. %else%
  43.     void Do%dlogname%    (void);
  44. %endif%
  45.  
  46. /* %unitname% */
  47. #endif
  48.